package com.example.shgt.entity;

import androidx.annotation.NonNull;

public class LoginInfo<userData> {
    private String msg;
    private  int code;
    private UserData data;


    // Getters and Setters
    public String getMsg() {
        return getMsg();
    }

    public void setMsg(String message) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public UserData getData() {
        return data;
    }

    public void setData(UserData data) {
        this.data = data;
    }

    @NonNull
        @Override
        public String toString() {
            return "LoginInfo{" +
                    "code=" + code +
                    ", msg='" + msg + '\'' +
                    ", data=" + data +
                    '}';
        }



}

